package com.data.biz.service;

import com.data.biz.constant.DipTableResult;
import com.data.biz.domain.DipData;
import com.data.biz.vo.SensorVo.dip.GraphGroupVo;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IBizDipService {


    DipTableResult getDipTableDataByPoint(Integer ponitId, String startDate, String endDate, Integer page, Integer pageSize);

    GraphGroupVo getDipDataStatistic(Integer pointId, String startDate, String endDate);

    GraphGroupVo getDipDataGroupGraph(Integer pointId, String startDate, String endDate);

    ResponseEntity<byte[]> exportDipExcel(HttpServletRequest request, HttpServletResponse response, Integer pointId, String startDate, String endDate);

    void doSaveDip(List<String> address, List<String> data);

    void doSaveSingleDipData(DipData data, String s);
}
